package spaceCraft;

/**
 * The <code>ProductInfo</code> object contains basic information
 * like product name and manufacturer
 */
public class ProductInfo {

    private String manufacturer;
    private String name;

    /**
     * Constructor sets basic info, that cannot be changed
     */
    public ProductInfo(String manufacturer, String name) {

        this.manufacturer = manufacturer;
        this.name = name;
    }

    /**
     * return the name of manufacturer
     *
     * @return the name of manufacturer
     */
    public String getManufacturer() {
        return manufacturer;
    }

    /**
     * return the product name
     *
     * @return the product name
     */
    public String getName() {
        return name;
    }
}
